package com.shanzmoo.db.product.service;

import com.shanzmoo.base.bean.SResponse;
import com.shanzmoo.db.product.entity.ProductCategoryEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shanzmoo.db.product.entity.dto.CatsDto;
import com.shanzmoo.db.product.entity.dto.ProductCategoryDTO;
import com.shanzmoo.db.product.entity.vo.CategoryVo;

import java.util.List;

/**
 * <p>
 * 商品分类 服务类
 * </p>
 *
 * @author Xueqz
 * @since 2020-12-07
 */
public interface IProductCategoryService extends IService<ProductCategoryEntity> {

    SResponse<List<CategoryVo>> getAllTree();

    List<CatsDto> getCatIdAndParents();

    List<ProductCategoryDTO> getAllCategory();

}
